﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IsDroneApp
{
     public class StateDrone
    {
        public double Tangag = 0;
        public double Kren = 0;
        public bool Bootstrap;
        public bool Landed;
        public bool Takeoff;
        public bool Flying;
        public bool Hovering;
        public bool Landing;
        public bool Emergency;
        public bool Wind;
        public string Mode;
        public int Altitude = 0;
        public int FlyTime = 0;
        public int EndTime = 0;
        public int TotalTime = 0;
        public int Procent = 0;
        public float Yau = 0;
        public int Battarey = 0;
        public int WiFi = 5;
        public int Rec = 0;
        public long State = 0;
        public int UsbTime = 0;
        public float[] Speed;
    
        public StateDrone()
        {

        }
     


        public override string ToString()
        {
            return
                "Tangag=" + Tangag + ";" +
                "Kren=" + Kren + ";" +
                "Bootstrap=" + Bootstrap + ";" +
                "Landed=" + Landed + ";" +
                "Takeoff=" + Takeoff + ";" +
                "Flying=" + Flying + ";" +
                "Hovering=" + Hovering + ";" +
                "Landing=" + Landing + ";" +
                "Emergency=" + Emergency + ";" +
                "Wind=" + Wind + ";" +
                "Mode=" + Mode + ";" +
                "FlyTime=" + FlyTime + ";" +
                "Procent=" + Procent + ";" +
                "Yau=" + Yau + ";" +
                  "Battarey=" + Battarey + ";" +
                    "WiFi=" + WiFi + ";" +
                      "Rec=" + Rec + ";" +
                        "State=" + State + ";" +
                          "UsbTime=" + UsbTime + ";>";


        }

    }
}
